package com.joylight.bean;

public class AjaxResult {
	
	public static final Integer AJAX_RESULT_SUCCESS = 1;
	public static final Integer AJAX_RESULT_FAIL = 0;
	public static final Integer AJAX_RESULT_WARN = 2;
	
	private Integer status;
	private String msg;
	
	public AjaxResult() {
		super();
	}
	
	public AjaxResult(Integer status, String msg) {
		super();
		this.status = status;
		this.msg = msg;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
}
